﻿namespace TestTool.Proxies.WSDiscovery
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, XmlRoot("EndpointReference", Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing", IsNullable=false), DebuggerStepThrough, DesignerCategory("code"), XmlType(Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"), GeneratedCode("xsd", "2.0.50727.3038")]
    public class EndpointReferenceType
    {
        private AttributedURI addressField;
        private XmlAttribute[] anyAttrField;
        private XmlElement[] anyField;
        private AttributedQName portTypeField;
        private ReferenceParametersType referenceParametersField;
        private ReferencePropertiesType referencePropertiesField;
        private ServiceNameType serviceNameField;

        public AttributedURI Address
        {
            get
            {
                return this.addressField;
            }
            set
            {
                this.addressField = value;
            }
        }

        [XmlAnyElement]
        public XmlElement[] Any
        {
            get
            {
                return this.anyField;
            }
            set
            {
                this.anyField = value;
            }
        }

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        public AttributedQName PortType
        {
            get
            {
                return this.portTypeField;
            }
            set
            {
                this.portTypeField = value;
            }
        }

        public ReferenceParametersType ReferenceParameters
        {
            get
            {
                return this.referenceParametersField;
            }
            set
            {
                this.referenceParametersField = value;
            }
        }

        public ReferencePropertiesType ReferenceProperties
        {
            get
            {
                return this.referencePropertiesField;
            }
            set
            {
                this.referencePropertiesField = value;
            }
        }

        public ServiceNameType ServiceName
        {
            get
            {
                return this.serviceNameField;
            }
            set
            {
                this.serviceNameField = value;
            }
        }
    }
}

